import Vue from 'vue'
import App from './App'
// 即时通讯模块
import GoEasy from 'goeasy'
// 动画样式
import './style/animat.css'
// 时间模块
let moment = require('moment')
moment.locale('zh-cn')
Vue.prototype.$Time = moment

// 即时通讯：订单提醒
Vue.prototype.goeasy = GoEasy.getInstance({
    host:"hangzhou.goeasy.io",  //若是新加坡区域：singapore.goeasy.io
    appkey:"BC-be09ecf07af940af85b50d1c5aab8931",
    modules:['pubsub']//根据需要，传入‘pubsub（订单推送）’或'im（聊天推送）’，或数组方式同时传入  wss://wx-hangzhou.goeasy.io
});
Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
